package com.tk.oop.Demo01;

public class Demo01 {
    public static void main(String[] args) {
        a();
//        b(); //报错
        Demo01 demo01 = new Demo01();
        demo01.b();
    }

    //和类一起加载
    public static void a(){
        System.out.println("我是a");
    }

    //类实例化后才存在
    public void b(){
        System.out.println("我是b");
    }
}
